<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
	<style>
		p{
			width: 600px;
			height: 200px;
			background: red url() 0 0 no-repeat;
			position: relative;
			top: 0px;
			left: -600px;
		}
	</style>
	<script>
		
		$(function(){
			$('button').hover(function() {
				$('p').stop().animate({left:"0px"}, 1000);
			}, function() {
				$('p').stop().animate({left:"-600px"}, 1000);
			});

			// $('span').;

		})
	</script>
</head>
<body>
	<p>学并思</p>
	<button>点我</button>
</body>
</html>